<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-merid" class="control-label col-xs-12 col-sm-2">{:__('Merid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merid" data-rule="required" class="form-control" name="row[merid]" type="text" value="{$row.bid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-type" class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type" data-rule="required" class="form-control" name="row[type]" type="text" value="{$row.type}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-url" class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-url" data-rule="required" class="form-control" name="row[url]" type="text" value="{$row.url}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-q" class="control-label col-xs-12 col-sm-2">{:__('Q')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-q" class="form-control" name="row[q]" type="text" value="{$row.q}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-cat" class="control-label col-xs-12 col-sm-2">{:__('Cat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cat" class="form-control" name="row[cat]" type="text" value="{$row.cat}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-icon" class="control-label col-xs-12 col-sm-2">{:__('Icon')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-icon" data-rule="required" class="form-control" name="row[icon]" type="text" value="{$row.icon}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-sortid" class="control-label col-xs-12 col-sm-2">{:__('Sortid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sortid" data-rule="required" class="form-control" name="row[sortid]" type="number" value="{$row.sortid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-agent_flag" class="control-label col-xs-12 col-sm-2">{:__('Agent_flag')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_flag" data-rule="required" class="form-control" name="row[agent_flag]" type="text" value="{$row.agent_flag}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
